.blog{
    width: calc(100% - 40px);
    padding: 10px 20px;
    border: gray solid 1px;
    border-radius: 20px;
    margin: 20px ;
}
/* 博客的标题 */
.blog .title {
    color: black;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    padding: 10px 0;
}
.blog .desc{
    color: #000;
    padding: 10px;
    text-indent: 2em;
}
.blog .date{
    color: #008000;
    text-align: center;
    padding-top: 10px;
}
.blog a{
    display: block;
    width: 120px;
    height: 40px;
    text-align: center;
    /* 设置字体行高,使之居中 */
    line-height: 40px;
    margin: 10px auto;
    /* border: black solid 1px; */
    text-decoration: none;

    transition: 0.7s;
}
/* 鼠标悬停事件 */
.blog .detail:hover{
    background-color: #000;
    color:#ffff;
}